﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Data.Interfaces.Callback;
using System.Net.Security;

namespace Data.Interfaces
{
    [ServiceContract(Namespace = "IPlayerService",
            CallbackContract = typeof(ICPlayerService),
            SessionMode = SessionMode.Allowed,
            ProtectionLevel = ProtectionLevel.None)]
    public interface IPlayerService
    {
        [OperationContract(IsOneWay = true)]
        void UpdatePlayer(string player, string character, int posX, int posY, int orientation, int step, int life, int mana);

        [OperationContract(IsOneWay = true)]
        void UpdateAnimation(string pseudo, int posX, int posY, int width, int height, string attackType, int orientation);
    }
}
